package com.yujn.order.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "dynamic.person")
@Data
public class DynamicPerson {
    private String name;
    private String sex;
    private Integer age;
}
